<?php

sys::uses("html");
sys::uses("form_drawer");

$html = new html();

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><?php
?><html xmlns="http://www.w3.org/1999/xhtml"><?php
?><head><?php
    ?><meta http-equiv="Content-Type" content="text/html; charset=<?=Application::encoding();?>" /><?php
    if (isset($data["title"])) {
        ?><title><?=str($data["title"])->xmlEntities(ENT_NOQUOTES)->toString();?></title><?php
    }
    ?><link rel="stylesheet" href="<?=$html->url("/css/main.css");?>" type="text/css" /><?php
?></head><?php
?><body id="body" class="sys_clear"><?php
?><center><?php

echo FormDrower::draw($data);

?></center><?php
?></body><?php
?></html><?php

?>